/*
 * @Description: config读取模块
 * @Author: BiChunkai 321521004@qq.com
 * @Date: 2025-06-03 13:33:05
 * @FilePath: /armEyeCalib_cpp/configDemo/configread.h
 *
 * Copyright (c) 2025 by 无锡捷普迅科技有限公司, All Rights Reserved.
 */
#ifndef CONFIGREAD_H
#define CONFIGREAD_H

#include <iostream>
#include <fstream>
#include <string>
#include <map>

class ConfigRead
{
public:
    ConfigRead();
    void load(const std::string& filename);

    std::string get(const std::string& section, const std::string& key);

private:
    std::map<std::string, std::map<std::string, std::string>> configData;
};

#endif // CONFIGREAD_H
